﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Models;
using DAL;

namespace BLL
{
    public class AddressBLL
    {
        //删除
        public static bool deleteBLL(int AddressID)
        {
            return AddressDAL.deleteDAL(AddressID);
        }
        //增加
        public static bool addAddressBLL(Address address)
        {
            return AddressDAL.addAddressDAL(address);
        }
        //根据用户ID进行查询
        public static List<Address> getByUserIDBLL(int UserID)
        {
            return AddressDAL.getByUserID(UserID);
        }
    }
}
